
FROM openjdk:8-alpine

RUN wget -O /tmp/kafka.tgz https://mirrors.bfsu.edu.cn/apache/kafka/2.8.0/kafka_2.13-2.8.0.tgz \
  && tar xvf /tmp/kafka.tgz -C / \
  && apk add --no-cache bash \
  && rm -rf /tmp/*

ENV TZ=Asia/Shanghai \ 
  LANG=C.UTF-8 \
  run_foreground=false


WORKDIR /kafka_2.13-2.8.0

CMD ["java", "-version"]
